It's possible to manage subscription in the app using the following StoreKit api, which support real Apple ID on TestFlight apps.
UIKit
showManageSubscriptions(in:)
or SwiftUI
manageSubscriptionsSheet(isPresented:)
Topic:
App & System Services
SubTopic:
StoreKit
Tags: